from fastapi import APIRouter, Request
from pydantic import BaseModel, EmailStr
from typing import Optional

response_model_router = APIRouter()


# class UserIn(BaseModel):
#     username: str
#     password: str
#     email: EmailStr
#     full_name: Optional[str] = None


# @response_model_router.post("/user/add")
# async def add_user():
#     return {
#         "data": "abc"
#     }

@response_model_router.get("/get")
async def get_user():
    return {
        "code": 200,
        "message": "请求成功"
    }
